package com.repair.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.repair.entity.RepairmanOrder;
import java.util.List;

public interface RepairmanOrderService extends IService<RepairmanOrder> {
    
    // 获取维修员的订单列表
    List<RepairmanOrder> getRepairmanOrders(Long repairmanId);
    
    // 获取订单详情
    RepairmanOrder getOrderDetail(Long orderId);
    
    // 接单
    void acceptOrder(Long repairmanId, Long orderId, String remark);
    
    // 完成订单
    void completeOrder(Long repairmanId, Long orderId);
    
    // 取消订单
    void cancelOrder(Long repairmanId, Long orderId);
} 